Release 10.1A: OpenEdge Development:
Web Services


Array parameters

The WSA supports arrays (extents) as parameters for the data types listed in Table 4–1. These data types are mapped to XML Schema data types as indicated in this. In the WSDL document, the XML Schema data types are housed in a complex structure whose type definition depends on the encoding style. For details and examples of array representation for each WSDL style/use format, see the "Array mapping in WSDL documents" section.

Note: TABLE (temp-table) and TABLE-HANDLE (temp-table handle) parameters cannot be array parameters.

Fixed arrays

In cases where the Progress 4GL refers to fixed-array parameters, only the Document/Literal WSDL style/use format represents the fixed size of the array; the RPC/Encoded and RPC/Literal formats represent all arrays as unbounded. Therefore, when using either of the RPC WSDL style formats, the developer must know the size of each array parameter that is expected. The WSA returns a SOAP fault if the array sizes do not match.

The Document/Literal schema represents each parameter individually, and thus specifies the size for each fixed array parameter. See the examples in the "Array mapping in WSDL documents" section.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095